package com.manong.mapper;

import com.manong.domain.Permission;
import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    List<Permission> selectForList();

    List<String> selectExpression();

    List<Permission> queryByPermission(Long id);

    List<String> selectExpressionsByEmpId(Long id);
}